package com.qidian.blog.util;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * 2022/9/29 10:44
 */
public class JudgeTools {
    public static boolean isNull(String str){
        return str == null || str.equals("");
    }
    public static boolean isZero(Integer i){
        return i == null || i ==0;
    }
    public static boolean isZero(Long i){
        return i == null || i ==0;
    }
}
